<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
  <script>
    async function findAll(){
      // async 避免了回调函数
      let res=await $.get('http://121.199.0.35:8888/index/carousel/findAll');
      console.log(res);
      let res1=await $.get('http://121.199.0.35:8888/index/article/findCategoryArticles')
      console.log(res1);
    };
    findAll();
  </script>
</head>
<body>
  
</body>
</html>